<?php

namespace plugin\ycMassage\app\model;


class MassageUserWallet extends Model
{
    public static function onAfterRead($model)
    {
        $model->money = (float)$model->money;
        $model->money_sum = (float)$model->money_sum;
        $model->technician_money = (float)$model->technician_money;
        $model->technician_money_sum = (float)$model->technician_money_sum;
        $model->agent_money = (float)$model->agent_money;
        $model->agent_money_sum = (float)$model->agent_money_sum;
    }
}
